<?php

/*
	Class: Watch_Plugins_Config

	About: Author
		Rich Joslin

	About: License
		<http://communit.as/docs/license>
*/
class Watch_Plugins_Config {

	/* Group: Constructors */

	/*
		Function: Watch_Plugins_Config
	*/
	function Watch_Plugins_Config() {
		
	}

	/* Group: Instance Methods */

	/*
		Function: install
			Runs the database script to set up the tables needed for the Watch module.
	*/
	function install($params) {
		$script = new Cts_Db_Script("watch", "install");
		if (!$script) {
			$params['errors'] = $script->errors;
		}
		return $params;
	}

	/*
		Function: uninstall
			Drops the database tables that were used only for the Watch module.
	*/
	function uninstall($params) {
		$script = new Cts_Db_Script("watch", "uninstall");
		if (!$script) {
			$params['errors'] = $script->errors;
		}
		return $params;
	}

	/*
		Function: enable
			Not currently used.
	*/
	function enable($params) {				
		return $params;
	}

	/*
		Function: disable
			Not currently used.
	*/
	function disable($params) {
		return $params;
	}

}
